<?php

//Always place this code at the top of the Page
session_start();
if (!isset($_SESSION['id'])) {
    // Redirection to login page twitter or facebook
    header("location: index.php");
}

$_SESSION['user_id'] = $_SESSION['oauth_id'];
$_SESSION[login]='success';

header("Location: http://ict2.natawebs.com/index.php#page_four");

?>